import java.util.Scanner;

public class Zxf6 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("输入王菲的三门科的成绩");
        int yu=in.nextInt();
        int shu=in.nextInt();
        int ying=in.nextInt();
        int p=(yu+shu+ying)/3;
        int q=yu+shu+ying;
        System.out.println("平均分："+p+"\n"+"总分："+q);
    }
}
